package cn.gyouzhe.vo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 返回结果基础
 *
 * @author wangchuan
 * @datetime 2017/11/24 23:25
 */
@NoArgsConstructor
@Getter
@ToString
public class Result {
    private int code = 200;
    private String msg;

    public Result(String msg) {
        this.code = 500;
        this.msg = msg;
    }

}
